nums=[1,2,3]
s=sum(x*x for x in nums)
print(s)

